import React from 'react'
import { Route } from 'react-router-dom'
import { Layout } from 'antd'
import './content.less'
import index from './index'
import student from '../Students'
import stuents from '../Stuents'
import notice from '../NoticeList'
import noticeAdd from '../NoticeAdd'
import teacher from '../TeacherList'
import message from '../Message'
import job from '../JobList'
import file from '../FileList'
import user from '../User'


const { Content } = Layout

export default class Contents extends React.Component {
  render() {
    return (
      <Content className="content" id="content">
        <Route path="/index" component={index} />
        <Route path="/admin/StudentsList" component={student} />
          <Route path="/admin/stuentsList" component={stuents} />
          <Route path="/admin/noticeList" component={notice} />
          <Route path="/admin/noticeAdd" component={noticeAdd} />
          <Route path="/admin/teacherList" component={teacher} />
          <Route path="/admin/messageList" component={message} />
          <Route path="/admin/jobList" component={job} />
          <Route path="/admin/fileList" component={file} />
          <Route path="/admin/userList" component={user} />
      </Content>
    )
  }
}